require(['./config'], () => {
    require(['template','header','footer','cookie'], (template) => {
        

        class Index {
            constructor() {
                this.getHufu()
            }
            getHufu () {
                $.get(`http://rap2api.taobao.org/app/mock/239606/hufu`,resp => {
                    console.log(resp)   
                if(resp.code === 200){
                        const {list} = resp
                        // console.log(template('rap',{list}))
                        $('#czxr').html(template('rap',{list}))

                    }
                })
            }

        }
        new Index()

    })
    })